// 主界面功能管理
class MainApp {
    constructor() {
        this.initialized = false;
    }

    init() {
        if (this.initialized) return;
        console.log('Initializing main app...');
        this.initialized = true;
    }

    // 显示主界面
    show() {
        window.location.href = 'dashboard.html';
    }
}

// 创建全局实例
window.mainApp = new MainApp();
window.mainApp.init(); 